//
//  StoresInfoController.h
//  NPS
//
//  Created by jadd on 15/10/12.
//  Copyright © 2015年 jadd. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "StoreModel.h"
#import "StoreCell.h"
#import "StoreButtonCell.h"
#import "UIColor+HEX.h"
#import "AccountSettingController.h"
#import "MJRefresh.h"
#import "QRCodeController.h"
#import "Config.h"

#import "RequestHandle.h"
#import "StoresReponse.h"
#import "StoresRequest.h"

#import "AddStoreRequest.h"
#import "AddStoreReponse.h"
#import "MyGlobal.h"

#import "ModifyStoreNameReponse.h"
#import "ModifyStoreNameRequest.h"
#import "ReportViewController.h"


@interface StoresInfoController : UIViewController <UITableViewDataSource, UITableViewDelegate, UIAlertViewDelegate,UIActionSheetDelegate>

@property (strong, nonatomic) UITableView * myTableView;
@property (strong, nonatomic) UITableView * mybuttonTableView;
//店铺列表信息
@property(strong,nonatomic) NSMutableArray *listData;
@property(strong, nonatomic) UIButton *button;

@property(strong, nonatomic) UIAlertView *customAlertView;
//记录修改的店铺
@property(strong, nonatomic) NSString *storeId;
@property bool isAdd;

@property (strong, nonatomic) NSIndexPath *deleteIndex;


-(IBAction)Myaccount:(id)sender;
-(void) getStoresInfo;
-(void) addStores:(NSString *) storeName;
-(void) modifyStores:(NSString *) storeName StoreId:(NSString *)storeId;
-(UIAlertView *) createAlertView:(NSString *) title FieldTxt:(NSString *) fieldTxt Placeholder:(NSString *) placeholder CancelBtnTitle:(NSString *) cancelBtnTitle OtherBtnTitles: (NSString *) otherBtnTitles Tag: (NSUInteger)tag;
@end
